package com.question.dao;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import com.question.entity.Multiple;
@Repository
public interface MultipleRepository extends PagingAndSortingRepository<Multiple, Long>, JpaSpecificationExecutor<Multiple> {
	@Query(value="from Multiple m where m.num=?1")
	public Multiple findByNum(String num);
}
